#include "buttonbmpsaverect.h"
#include "bmpeditor.h"

const char * ButtonBMPSaveRect::NAME = "SaveBMPRect";
const char * ButtonBMPSaveRect::getName(){return NAME;}

void ButtonBMPSaveRect::execute()
{
	BMPEditor * bmpe = (BMPEditor*)getContext();
	bmpe->saveRectangles();
}